<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<div class="goodsList">
<c:if test="${empty goodsVOList}">
<div style="color:#000; text-align:center; margin:21px 0px;"><a href="###" onclick="choiceGoods.hide();">没有相关商品，请重新选择！</a></div>
</c:if>
<table>
<c:if test="${!empty goodsVOList}">
<tr>
<th><fmt:message key="message.brand.name" /></th>
<th><fmt:message key="message.category.name" /></th>
<th><fmt:message key="message.goods.name" /></th>
<th><fmt:message key="message.goods.displayName" /></th>
<th>库存</th>
</tr>
<c:forEach var="item" items="${goodsVOList}">
<tr id="${item.id}">
<td>${item.brand.name}</td>
<td>${item.category.name}</td>
<td>${item.name}<c:forEach var="value" items="${item.propValues}"> / ${value.propValueName}</c:forEach></td>
<td>${item.displayName}</td>
<td>${item.inventoryCount}
<input type="hidden" name="count" id="count_${item.id}" value="${item.inventoryCount}" />
</td>
</tr>
</c:forEach>
</c:if>
</table>
</div>